﻿<Window x:Class="DynamicUIFramework.PropertyDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="PropertyDialog"
        Width="309"
        Height="223"
        Loaded="Window_Loaded"
        ResizeMode="NoResize"
        WindowStartupLocation="CenterOwner">
    <Grid Width="292">
        <Grid.RowDefinitions>
            <RowDefinition Height="35" />
            <RowDefinition  Height="35" />
            <RowDefinition  Height="35" />
            <RowDefinition  Height="35" />
            <RowDefinition  Height="35" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="60" />
            <ColumnDefinition Width="230" />
        </Grid.ColumnDefinitions>
        <ComboBox Name="cbStyle"
                  Grid.Row="1"
                  Grid.Column="1"
                  Width="183"
                  Height="23"
                  HorizontalAlignment="Left"
                  VerticalAlignment="Center"
                  SelectionChanged="cbStyle_SelectionChanged" Margin="0,0,46,0" />
        <TextBlock Name="tbStyle"
                   Grid.Row="1"
                   Height="23"
                   HorizontalAlignment="Right"
                   VerticalAlignment="Center"
                   Text="样式: " />
        <Button Name="btnOK"
                Grid.Row="4" Width="75"
                Height="23"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Click="btnOK_Click"
                Content="确定" Margin="43,8,0,0" Grid.ColumnSpan="2" />
        <Button Name="btnCancel"
                Grid.Row="4"
                Grid.Column="1"
                Width="75"
                Height="23"
                HorizontalAlignment="Left"
                VerticalAlignment="Top"
                Click="btnCancel_Click"
                Content="取消" Margin="71,8,0,0" />
        <TextBlock Name="textBlock1"
                   Grid.Row="2"
                   Height="23"
                   HorizontalAlignment="Right"
                   VerticalAlignment="Center"
                   Text="命令:" />
        <TextBlock Name="textBlock2"
                   Grid.Row="3"
                   Height="23"
                   HorizontalAlignment="Right"
                   VerticalAlignment="Center"
                   Text="命令参数:"  />
        <ComboBox Name="cbCommand"
                  Grid.Row="2"
                  Grid.Column="1"
                  Width="183"
                  Height="23"
                  HorizontalAlignment="Left"
                  VerticalAlignment="Center" />
        <TextBox Name="txtParameter"
                 Grid.Row="3"
                 Grid.Column="1"
                 Width="183"
                 Height="23"
                 HorizontalAlignment="Left"
                 VerticalAlignment="Center" />
        <TextBlock Name="textBlock3"
                   Height="23"
                   HorizontalAlignment="Right"
                   VerticalAlignment="Center"
                   Text="内容:" />
        <TextBox Name="txtContent"
                 Grid.Column="1"
                 Width="183"
                 Height="23"
                 HorizontalAlignment="Left"
                 VerticalAlignment="Center" Margin="0,-3,0,0" />
    </Grid>
</Window>
